package com.apexedu.eas.entity;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Transient;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: jiangfeng
 * Date: 13-12-9
 * Time: 下午1:45
 * To change this template use File | Settings | File Templates.
 */
@javax.persistence.Table(name = "TJX_JHZAP")
@Entity
public class TjxJhzap {
    private Long id;
    private Long zxjh;//执行计划id
    private String mc;//名称
    private Integer sfqy;//是否启用1：是0:否
    private Long bj;//班级

    private List<TjxJhzapMx> listZapMx;//周安排明细

    @javax.persistence.Column(name = "ID")
    @Id
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    @javax.persistence.Column(name = "ZXJH")
    @Basic
    public Long getZxjh() {
        return zxjh;
    }

    public void setZxjh(Long zxjh) {
        this.zxjh = zxjh;
    }

    @javax.persistence.Column(name = "MC")
    @Basic
    public String getMc() {
        return mc;
    }

    public void setMc(String mc) {
        this.mc = mc;
    }

    @javax.persistence.Column(name = "SFQY")
    @Basic
    public Integer getSfqy() {
        return sfqy;
    }

    public void setSfqy(Integer sfqy) {
        this.sfqy = sfqy;
    }

    @javax.persistence.Column(name = "BJ")
    @Basic
    public Long getBj() {
        return bj;
    }

    public void setBj(Long bj) {
        this.bj = bj;
    }

    @Transient
    public List<TjxJhzapMx> getListZapMx() {
        return listZapMx;
    }

    public void setListZapMx(List<TjxJhzapMx> listZapMx) {
        this.listZapMx = listZapMx;
    }
}
